<!DOCTYPE html>
<html>
	<head>
			<meta charset="UTF-8">
		<title></title>
		<link rel="shortcut icon" href="./Public/Home/images/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/list.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/product.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/shoppingcart.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/my-center.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/dingdan.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/addressList.css"/>
		
		
		
		<script src="./Public/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/details.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/area.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/list.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/cart.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/address.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		
		<!--顶部部分开始包括最顶部和搜索-->
		<div id="header">
			<div class="header1">
				<div class="header1in">
					<ul class="headerul1">
						<li class=""><a href="">400-187-6777</a></li>
						<li class=""><a href="">在线客服</a></li>
						<li class=""><a href="">关注我们</a></li>
						<li class=""><a href="">新浪微博</a></li>
						<li class=""><a href="">手机客户端</a></li>
					</ul>
					<ul class="headerul2">
						<li class=""><a href="">签到</a></li>
						<!--开始没有加isset 退出的时候会 显示未定义$_SESSION['userid']。。。所以要加isset存在的时候返回真，不存在返回假-->
						                
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">admin</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=login&a=out">退出</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">我的云购全球</a></li>
												<li class=""><a href="">充值</a></li>
						<li class=""><a href="">帮助</a></li>
					</ul>
				</div>
			</div>
			<div class="header2">
				<a class="header_logo" href="">
					<img src="./Public/Home/images/logo.png" alt="" />
				</a>
				<div class="search_header2">
					<span></span>
					<input placeholder="搜索您需要的商品" value="" id="q" type="text">
					<a href="" class="btnHSearch">搜索</a>
				</div>
			</div>
		</div>
		<!--导航 start-->
		<div id="navAll">
			<div class="nav">
				<div class="pullDown">
					<h4 class="pullDownTitle"><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=0">所有商品分类</a></h4>
					<ul class="pullDownList">
																		<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_111.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=9">
								奢侈品区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=10">
								汽车专区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=11">
								手机数码							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=12">
								家用电器							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=13">
								金银珠宝							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=14">
								云购超市							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=15">
								服饰百货							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=16">
								其他商品							</a>
							<span>></span>
						</li>
												<!--<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>-->
					</ul>
				</div>
				<ul class="menu">
					<li><a class="menu_first_li" href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=index&a=index">首页</a><em>/</em></li>
					<li><a href="">十元</a><em>/</em></li>
					<li><a href="">百元</a><em>/</em></li>
					<li><a href="">限购</a><em>/</em></li>
					<li><a href="">揭晓</a><em>/</em></li>
					<li><a href="">晒单</a><em>/</em></li>
					<li><a href="">新手</a><em>/</em></li>
					<li><a href="">视频</a><em>/</em></li>
					<li><a href="">理财</a><em>/</em></li>
				</ul>
			</div>
		</div>
		<!--导航 end-->
		
		
		<!--右侧边栏开始-->
		<div id="r-fixed" style="width:42px;position: fixed;background: #004B54;bottom: 50px;right: 10px;z-index: 1000;">
			<ul class="r-fixed-nav">
				<li class="fixed-cart">
					<a href="<?php echo U('cart/index')?>"></a>
					<?php if(isset($cartNum)){?>
                
						<em class="cart_goods_all"><?php echo $cartNum?></em>
					<?php }else{?>
						<em class="cart_goods_all">0</em>
					
               <?php }?>
					<div style="background: #DD2726;width: 0;height: 40px;position: absolute;top:0;left: -120px;overflow: hidden;color: white;font-size: 14px;text-align: center;line-height: 40px;" class="success">成功添加到购物车</div>
				</li>
				<li style="width: 40px;height: 40px;display: block;margin-top: 3px;" class="fixed-qq"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-wx"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-top"></li>
			</ul>
		</div>
		<!--右侧边栏结束-->
		<!--商品详情页开始-->
		<div id="goods_details">
			<div class="w_details_left">
				<h4 class="w_guide">
					<a href="<?php echo U('index/index')?>">首页</a>
					<a href="">全部商品</a>
					<a href="">汽车专区</a>
					<a class="w_accord" href="">商品详情</a>
				</h4>
				<?php foreach ($goodsData as $v){?>
				<!--<?php sp($goodsData); ?>-->
				<form action="" method="post">
				<div class="w_details_top">
					<div class="w_details_choose">
						<!--大图-->
						<dl class="w_big_img">
							<?php foreach ($goodsData[0]['img'] as $kbig=>$vv){?>
							<dd class="w_big_img_dd w_big_img_<?php echo $kbig?>">
								<img src="<?php echo $vv?>" alt="" />
							</dd>
							<?php }?>
						</dl>
						<!--小图-->
						<ul class="w_small_img">
							<?php foreach ($goodsData[0]['img'] as $ksmall=>$value){?>
							<li class="w_small_img_li w_small_img_<?php echo $ksmall?>">
								<img style="width: 53;height: 53px;" src="<?php echo $value?>" alt="" />
							</li>
							<?php }?>
							<!--<li>
								<img src="./Public/Home/images/80_1463110111490.jpg_53x53.png.jpg" alt="" />
							</li>-->
						</ul>
					</div>
					
					<div class="w_details_text">
						<div class="zhengchang">
							<p>
								<!--<em>十元专区</em>-->
								(第
								<span>
									1期）
									<strong>
										<c id="cart_title" gname="<?php echo $v['gname']?>"><?php echo $v['gname']?></c>
									</strong>
								</span>
								<!--获得商品gid-->
								<input type="hidden" id="gid" value="<?php echo $v['gid']?>"/>
								<!--获得商品图片-->
								<input type="hidden" id="goods_big_img" value="<?php echo $v['pic']?>"/>
							</p>
							<b>
								价值：￥
								<span id="price" price="<?php echo $v['price']?>">
									<?php echo $v['price']?>
								</span>
							</b>
							<div class="w_line">
								<span id="zc_line">
								</span>
							</div>
							<ul class="w_number">
								<li class="w_amount w_amount_one">21439</li>
								<li class="w_amount w_amount_all">82960</li>
								<li class="w_amount  w_amount_two w_amount_val">61521</li>
								<li class="w_amount_one">已参与</li>
								<li>总需人次</li>
								<li class="w_amount_two">剩余人次</li>
							</ul>
							<div class="w_cumulative w_cumulative_another">
								<strong>夺宝：</strong>
								<input class="w_detailsinputs w_detailsinputs_one times" onkeyup="bugTimesInput()" value="1" min="1" max="61521" maxlength="7" type="text">
					<!--maxlength="7" 的意思是在输入框中只能输入7个字符-->
								<span class="w_subtracts_one"></span>
								<span class="w_pluss_one"></span>
								<i class="">10</i>
								<i class="">20</i>
								<i class="">50</i>
								<i class="w_num_color">100</i>
								<em class="">包尾</em>
								<strong class="w_tail">人次</strong>
							</div>
							<dl class="w_rob w_rob_another y_rob_another">
								<dd>
									<a class="w_slip" href="">立即夺宝</a>
								</dd>
								<dd class="w_slip_out">
									<a class="w_slip_in" href="javascript:;">加入购物车</a>
								</dd>
							</dl>							
							
						</div>
						<ul class="w_security">
								<li class="w_security_one">公平公正公开</li>
								<li class="w_security_two">品质保障</li>
								<li class="w_security_three">全国免运费（港澳除外）</li>
								<li class="w_security_four">权益保障</li>
							</ul>
							<!--未登录开始-->
							<div class="w_winner_bg">
								<span class="w_not_logged">
									<a href="">
										请登录
									</a>
									，查看你的夺宝号码！
								</span>
								<strong></strong>
							</div>
							<!--未登录结束-->
						<div class="bdsharebuttonbox bdshare-button-style0-16">
							<a class="bds_more" href=""></a>
							<a class="bds_qzone" href=""></a>
							<a class="bds_tsina" href=""></a>
							<a class="bds_tqq" href=""></a>
							<a class="bds_renren" href=""></a>
							<a class="bds_weixin" href=""></a>
						</div>
					</div>
				</div>
			</div>
			<div class="publish">
				<h3>揭晓信息</h3>
				<div class="div_name">
					<div class="div_winners">
						<div class="">
							<a href="">
								<img src="./Public/Home/images/1_3049.jpg"/>
							</a>
						</div>
						<p>
							恭喜
								<a href="">钟莫离</a><span>(天朝帝国)</span>
							获得该奖品
						</p>
						<dl>
							<dd>
								幸运号码：<span>10001202</span>
							</dd>
							<dd>
								本期参与：<span>1</span>人次
							</dd>
							<dd>揭晓时间：2016-05-19 20:33:00</dd>
							<dd>夺宝时间：2016-05-19 19:25:34</dd>
							<dd>
								<a href="">查看详情</a>
							</dd>
						</dl>
					</div>
				</div>
				<ul class="ul_times">
					<li class="li_first"><a href="">第3676期</a></li>
					<li><a href="">第3675期</a></li>
				</ul>
				<div class="div_page">
					<a class="a_up" href="">上一页</a><a class="a_down" href="">下一页</a>
				</div>
			</div>
						
		</div>
						<!--details 细节的意思-->
		<div class="w_details_bottom">
			<dl class="w_calculate_nav">
				<dd class="w_results_arrow">商品详情</dd>
				<dd>所有参与记录</dd>
				<dd>晒单</dd>
				<span class="w_remaining" style="width:611px"></span>
			</dl>
			<div class="w_calculate_con">
				<div class="w_prize_con w_prize_img c_newest_prize_con" style="display: block;">
					<?php echo $v['details']?>
				</div>
			</div>
		</div>
		</form>
		<?php }?>
		<!--商品详情页结束-->
		<!--最底层部分开始-->
		<!--最底层部分开始-->
		<div id="foot">
			<ul class="footIn">
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
			</ul>
			<div class="footSupport">
				<div class="footSupport_in">
					<div class="footSupport_in_left">
						<dl>
							<dt>新手指南</dt>
							<dd><a href="">购物指南</a></dd>
							<dd><a href="">常见问题</a></dd>
							<dd><a href="">服务协议</a></dd>
						</dl>
						<dl>
							<dt>服务支持</dt>
							<dd><a href="">保障体系</a></dd>
							<dd><a href="">风险提示</a></dd>
							<dd><a href="">安全支付</a></dd>
						</dl>
						<dl>
							<dt>商品配送</dt>
							<dd><a href="">配送费用</a></dd>
							<dd><a href="">验货签收</a></dd>
							<dd><a href="">会员福利</a></dd>
						</dl>
						<dl>
							<dt>关于我们</dt>
							<dd><a href="">了解我们</a></dd>
							<dd><a href="">联系我们</a></dd>
							<dd><a href="">诚聘英才</a></dd>
						</dl>
						
					</div>
					<dl class="foot_time">
						<dd title="服务热线" style="background:url(./Public/Home/images/phone.png) no-repeat 0px 5px;margin-top: 29px;">400-187-6777</dd>
						<dd title="服务器时间" style="background:url(./Public/Home/images/time.png) no-repeat 0px 6px;background-size:21px;margin-top: 15px;" class="sysTime">08:59:09</dd>
					</dl>
					
					
					
					
					<dl class="foot_last">
						<a href="javascript:void(0);">
							<dd class="dlLast-WeChat">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球官方微信</b>
									<img src="/clienty.png" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Sina">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球新浪微博</b>
									<img src="/cloud_xx.jpg" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-apple">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/android_app.png" alt="">-->
								</div> 
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Android">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/cloud_kik.png" alt="">-->
								</div>
							</dd>
						</a>
					</dl>
				</div>
				<div class="footer-time-list">
					<div class="yFootBottomLeft">	  
				  山西云购电子商务有限公司版权所有  © 2016  ICP证晋ICP备15005633号-1
					</div>
					<div class="yFootBottomRight">
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
					</div>
				</div>
			</div>
			<div class="footBottom">
				<div class="footBottomInFriend" style="clear: both;">
					<p>友情链接：
						<a href="">晋商贷</a> |
						<a href="">大德通科技</a> |
						<a href="">大德通集团</a> |
						<a href="">车来车网</a> |
						<a href="">人人天使</a> |
						<a href="">金融谷</a> |
						<a href="">晋商贷学院</a>
					</p>
				</div>
			</div>
		</div>
		<!--最底层部分结束-->
		<!--最底层部分结束-->
	</body>
</html>
